home *** CD-ROM | disk | FTP | other *** search
/ Aminet 3 / Aminet 3 - July 1994.iso / Aminet / disk / misc / Mtools207.lha / Mtools-2.0.7 / docs / Mattrib.doc next >
Encoding:
Text File  |  1994-05-27  |  1.4 KB  |  48 lines

  1. NAME
  2.        mattrib - change MSDOS file attribute flags
  3.  
  4. SYNOPSIS
  5.        mattrib  [ -a|+a ] [ -h|+h ] [ -r|+r ] [ -s|+s ] msdosfile
  6.        [ msdosfiles... ]
  7.  
  8. DESCRIPTION
  9.        Mattrib will add attribute flags to an  MSDOS  file  (with
  10.        the  '+' operator) or remove attribute flags (with the '-'
  11.        operator).
  12.  
  13.        Mattrib will allow the following command line options:
  14.  
  15.        a      Archive bit.  Used by some backup programs to indi-
  16.               cate a new file.
  17.  
  18.        r      Read-only  bit.  Used to indicate a read-only file.
  19.               Files with this bit set cannot be  erased  by  DEL.
  20.               However, mdel is more cunning.
  21.  
  22.        s      System  bit.  Used by MSDOS to indicate a operating
  23.               system file.
  24.  
  25.        h      Hidden bit.  Used to make files  hidden  from  DIR.
  26.               However, mdir is more cunning.
  27.  
  28.        MSDOS subdirectory names are supported with either the '/'
  29.        or '\' separator.  The use of the '\' separator  or  wild-
  30.        cards  will  require the names to be enclosed in quotes to
  31.        protect them from the shell.
  32.  
  33.        The mcd command may be used to establish  the  device  and
  34.        the  current working directory (relative to MSDOS), other-
  35.        wise the default is A:/.
  36.  
  37.        Mattrib returns 0 on success, 1 on utter failure, or 2  on
  38.        partial failure.
  39.  
  40. SEE ALSO
  41.        mcd(1)
  42.  
  43. BUGS
  44.        Most  MSDOS  versions  of  ATTRIB  don't  allow  this many
  45.        options.
  46.  
  47.  
  48.